package com.imooc.ecommerce;

import com.imooc.ecommerce.conf.DataSourceProxyAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;

/**
 * http://127.0.0.1:8003/e-commerce-account-service/doc.html
 * @author zhangshao
 * @date 2023/11/27 22:12
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = {"com.imooc.ecommerce.mapper"})
@Import(DataSourceProxyAutoConfiguration.class)
public class AccountApplication {
    public static void main(String[] args) {
        SpringApplication.run(AccountApplication.class,args);
    }
}
